All Questions
7 questions
0votes
1answer
3kviews
What should the response of the Service Layer be?
My controller calls the service layer. The service layer calls a repository or does whatever it does. If I just return a person object for example how do I know it was successfully retreived? I can ...
5votes
2answers
672views
DDD Domain Modeling of Transportation Module
I am in the process of trying to model a transportation module for an ERP type system using C# and EF Core. This service is responsible for managing customer pickups and company-owned truck ...
-1votes
1answer
3kviews
Update Entity for Repository Pattern and UOW Pattern C#
In one mock solution, I have created 3 mock projects to implement layered architecture design mainly the - Presentation Layer (Web) - Domain Model Layer - Infrastructure Layer. I haven't yet to add ...
4votes
2answers
8kviews
Domain driven design project structure [closed]
I have recently started reading about domain driven design and most of the places it's explained or discussed more in conceptual terms. Being a design philosophy it helps to understand the concepts ...
0votes
2answers
1kviews
DDD enforcing business rules
New to DDD I have a simple case a I would like to model using DDD approach 2 entities Student and Course Relevant property for Student are StudentId and Budget Relevant property for Course are ...
2votes
2answers
193views
How to prevent "updating" unchanged date using Data Mappers?
In some books the implementation of Data Mappers simply update the whole row of a table using the data inside an object, but in a system is possible that two different operations update different ...
0votes
2answers
839views
Relation between UnitOfWork and DataMapper
I have been studying DDD for 1.5 weeks now, and I came a cross the use of the Unit Of Work pattern together with Data Mapper pattern. I understood why they are both important and when to use them but, ...